package edu.xhu.model.biliuser.pojos;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * bilibili用户信息表
 */
@ApiModel(value = "bili用户表")
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName("bili_user")
public class BiliUser implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 用户ID
     */
    @ApiModelProperty(name = "用户ID")
    private Long userId;
    /**
     * 盐
     */
    @ApiModelProperty(name = "盐")
    private String salt;
    /**
     * MD5加密密码
     */
    @ApiModelProperty(name = "MD5加密密码")
    private String password;
    /**
     * 用户名
     */
    @ApiModelProperty(name = "用户名")
    private String userName;
    /**
     * 手机号
     */
    @ApiModelProperty(name = "手机号")
    private String phone;
    /**
     * 更新时间
     */
    @ApiModelProperty(name = "更新时间")
    private Date updateTime;
    /**
     * 注册时间
     */
    @ApiModelProperty(name = "注册时间")
    private Date createdTime;

    /**
     * 最后登录时间
     */
    @ApiModelProperty(name = "最后登录时间")
    private Date lastLogin;

    /**
     * 最后登录IP
     */
    @ApiModelProperty(name = "最后登录IP")
    private String lastLoginIp;
    /**
     * 注册IP
     */
    @ApiModelProperty(name = "注册IP")
    private String registerationIp;

}